<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>WEBGIS</title>
    <script type="text/javascript">
    	var WF_CONFIG;
    	function setValue(){
    		WF_CONFIG = parent.WF_CONFIG;
	    	var acceptNo = '<%=request.getParameter("acceptNo")%>';
	    	var templateCode = '<%=request.getParameter("templateCode")%>';
	    	var id = '<%=request.getParameter("id")%>';
	    	document.getElementsByName("acceptNo")[0].value = acceptNo;
	    	document.getElementsByName("templateCode")[0].value = templateCode;
	    	document.getElementsByName("id")[0].value = id;
    	}
    </script>
  </head>
  <body onload="setValue()">
	  <form action="">
	  	<div>
	  		<input type="hidden" name="acceptNo">
	  		<input type="hidden" name="templateCode">
	  		<input type="hidden" name="id">
	  	</div>
	    <div id="gis_tpanel">
	  		<iframe src="${ctx}/flex/index.html" scrolling="auto" frameborder="0" width="100%" height="100%"></iframe>
		</div>
		</form>
  </body>
</html>
